package com.example.hotelmanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hotelmanager.entity.Guest;
import com.example.hotelmanager.entity.vo.GuestMsg;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author :chenjie
 * @date :Created 2022/11/27 22:59
 */
@Service
public interface GuestService extends IService<Guest> {
    boolean deleteGuest(String idCard);

    List<GuestMsg> getGuestByIdCard(String idCard);

    List<GuestMsg> getGuestByContact(String contact);

    List<GuestMsg> getGuestByName(String name);
}
